<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>拉萨市财政局投资评审管理系统  </title>
    <link rel="stylesheet" href="css/style.css">
    <script src="js/jquery-1.10.2.min.js"></script>
</head>
<body>

<div class="article-container w-1200">
    <div id="list"></div>
    <!--main-pages start-->
    <div class="main-pages" id="pg">
       
    </div>
    <!--main-pages end-->
</div>
<!--article-container end-->

<script src="js/auth.js"></script>
<script>
function showcon(p){
    $.get("/api/Auth/artlist?page="+p,function(res){
        var lista = "";
        list = res.result.list;

        $.each(list,function(k,v){

            lista+=`<div class="article-container-item">
            <a href="#" onclick="read(`+v.id+`)" class="clearfix">
                <div class="t">`+v.title+`</div>
                <div class="icon"></div>
                <div class="see">`+v.viewnumber+`</div>
                <div class="date">`+timestampToTime(v.addtime)+`</div>
            </a>
        </div>`;

        });
        $("#pg").html(res.result.pg);
        $("#list").html(lista);
    });
}

showcon(1);

    function read(id){
        var url = HTTP_HOST+`read.html?id=`+id;
        var con = `<iframe src=`+url+` width="100%" height="800px">`;
        $("#mainbox").html(con);
    }

    function jumpage(p,size){



        showcon(p);


    }
</script>







</body>
</html>